﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin_cms/admin_master.master"
    AutoEventWireup="true" CodeFile="admin_add_news.aspx.cs" Inherits="hydevmanager_admin_add_news" %>

<%@ Register TagPrefix="FCK" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2, Version=2.6.3.41079, Culture=neutral, PublicKeyToken=4f86767c9b519a06" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <%--<asp:ScriptManager ID="ScriptManager1" runat="server" />
    <asp:UpdatePanel runat="server" ID="udp1">
        <ContentTemplate>--%>
    <div class="all_khung_form1">
        <div class="top_khung_form1">
            <h5>
                Thêm mới, cập nhật tin tức</h5>
        </div>
        <div class="khung_form1">
            <h3>
                Tiêu đề tin:
            </h3>
            <asp:TextBox runat="server" ID="txtname_menu" Width="200px" EnableViewState="false"
                class="txtform"></asp:TextBox>
        </div>
        <div class="khung_form1">
            <h3>
                Chọn nhóm tin:
            </h3>
            <asp:DropDownList runat="server" ID="drMenu" Height="25px" Width="335px" class="txtform"
                AutoPostBack="false" Enabled="true">
            </asp:DropDownList>
        </div>
        <div class="khung_form1">
            <h3>
                Chọn Ảnh:
            </h3>
            <asp:FileUpload ID="fileupload1" runat="server" />
            <%-- <input type="file" id="fileupload" runat="server" class="txtform" />--%>
            <%--<asp:FileUpload ID="fileupload" class="txtform" runat="server" />--%>
        </div>
        <div class="khung_form1">
            <h3>
                Sơ lược tin:
            </h3>
            <asp:TextBox runat="server" ID="txtdescription" Font-Names="Arial" Width="495px"
                CssClass="txtsoluoctin" Height="150px" TextMode="MultiLine"></asp:TextBox>
        </div>
        <div class="khung_form1">
            <%=load_anh() %>
        </div>
        <div style="float: left; margin-left: 45px; width: 100%; overflow: hidden;">
            <h3 style="float: left; font-size: 12px; font-weight: normal; line-height: 25px;
                width: 150px;">
                Nội dung tin:
            </h3>
            <br />
            <%--<CKEditor:CKEditorControl ID="CKE" runat="server" Width="910px" Height="600px" ResizeEnabled="false"
                BasePath="ckeditor/">
            </CKEditor:CKEditorControl>--%>
            <%--<FCK:FCKeditor ToolbarSet="Basic" runat="server" ID="fckeditornews" Width="910px" Height="600px"
                        BasePath="~/fckeditor/"></FCK:FCKeditor>--%>
             <FCK:FCKeditor runat="server" ID="fcknew" Width="910px" Height="600px" BasePath="~/fckeditor/">
            </FCK:FCKeditor>
        </div>
        <div class="khung_form1">
            <asp:Button runat="server" ID="btninsert" Text="Thêm tin" OnClick="luu_click" Enabled="true" />
            <asp:Button runat="server" ID="btnupdate" Text="Sửa tin" OnClick="update_click" Enabled="false" />
            <asp:Button runat="server" ID="Button1" Text="Quay lại" OnClick="update_click_quay" />
        </div>
        <%--</ContentTemplate>
    </asp:UpdatePanel>--%>
        <%--<script type="text/javascript">
        $(window).load(
    function() {
        $("#<%=fileupload.ClientID %>").fileUpload({
            'uploader': 'style/uploadify/scripts/uploader.swf',
            'cancelImg': 'style/uploadify/images/cancel.png',
            'buttonText': 'Browse Files',
            'script': 'style/uploadify/Upload.ashx',
            'fileDesc': 'Image Files',
            'fileExt': '*.jpg;*.jpeg;*.gif;*.png',
            'multi': true,
            'auto': true
        });
    }
    );
        </script>--%>
    </div>
</asp:Content>
